Skip to content

rasdaemon: backport upstream fix for SMCA bank type decoding - #18339

Open
AZaugg wants to merge 1 commit into
microsoft:3.0-devfrom
AZaugg:azaugg/3.0-dev/rasdaemon-smca-backport
Open

rasdaemon: backport upstream fix for SMCA bank type decoding#18339
AZaugg wants to merge 1 commit into
microsoft:3.0-devfrom
AZaugg:azaugg/3.0-dev/rasdaemon-smca-backport

Conversation

@AZaugg

@AZaugg AZaugg commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Backport upstream rasdaemon commit b6a64416 ("rasdaemon: Fix SMCA bank type decoding") as a patch instead of bumping the package version. The patch masks out MCA_IPID bits 47:44, which are either reserved or, on some modern AMD systems viz. Genoa, denote the InstanceIdHi value and therefore should not be associated with SMCA bank type decoding.

The upstream commit is adapted to the 0.8.0 (HWID, MCATYPE) tuple encoding, which neither repacks the tuple table nor contains the fixup_hwid() helper introduced in later releases. Release is bumped to 2.

Built package

processed_graph.dot
INFO[0000][scheduler] Reading DOT graph from /home/azaugg/azurelinux/build/pkg_artifacts/preprocessed_graph.dot
INFO[0000][scheduler] Successfully created solvable subgraph
INFO[0000][scheduler] Building 26 nodes with 16 workers
INFO[0000][scheduler] Building: rasdaemon-0.8.0-2.azl3.src.rpm
INFO[0031][scheduler] Built: rasdaemon-0.8.0-2.azl3.src.rpm -> [/home/azaugg/azurelinux/out/RPMS/x86_64/rasdaemon-0.8.0-2.azl3.x86_64.rpm /home/azaugg/azurelinux/out/RPMS/x86_64/rasdaemon-debuginfo-0.8.0-2.azl3.x86_64.rpm]
INFO[0031][scheduler] 0 currently active build(s): [].
INFO[0031][scheduler] All packages built
INFO[0032][scheduler] ---------------------------
INFO[0032][scheduler] --------- Summary ---------
INFO[0032][scheduler] ---------------------------

Backport upstream rasdaemon commit b6a64416 ("rasdaemon: Fix SMCA bank
type decoding") as a patch instead of bumping the package version. The
patch masks out MCA_IPID bits 47:44, which are either reserved or, on
some modern AMD systems viz. Genoa, denote the InstanceIdHi value and
therefore should not be associated with SMCA bank type decoding.

The upstream commit is adapted to the 0.8.0 (HWID, MCATYPE) tuple
encoding, which neither repacks the tuple table nor contains the
fixup_hwid() helper introduced in later releases. Release is bumped to 2.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AZaugg
AZaugg requested a review from a team as a code owner August 6, 2026 14:53
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant